package edu.zut.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

/**
 * 默认po实体和表映射关系
 * 默认要求实体属性名与结果字段名保持一致，类型兼容
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {

    private Integer id;
    private String username;
    private String password;
    private LocalDate birthday;
    private String sex;
    private String address;
    private String city;
    private String email;
    private String fullName;
    private String zym;

    //一对多
    private List<Orders> ordersList;


}
